package com.example.communitypro.service;
import com.example.communitypro.pojo.Comment;
import com.example.communitypro.util.result.Result;
public interface CommentService {
    Result addComment(Comment record);
    Result dropComment(int commentNo);
    Result modifyComment(Comment record);
    Result queryComment(int commentNo);
    Result queryUserComment(int user_no);
    Result queryUserPassComment(int user_no, int comment_status);
    Result queryAllPassComment(int comment_status);
    Result queryPostComment(int post_no, int user_no);
    Result queryHotComment(int post_no, int user_no) ;
    Result queryAllComment();
    Result dropPostComment(int post_no);
    Result queryReply(Integer commentNo,Integer userNo);
    Result queryReplyUser(Integer commentNo);
    Result queryFather(Integer commentNo,Integer userNo);


}
